﻿@model EagleProject.Models.RegisterModel

@{
    ViewBag.Title = "Register";
}


@using (Html.BeginForm("Register", "User", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Register</legend>
        <ol>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.UserName)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.UserName)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.UserName)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Password)</div>
                <div class="tbl-next">@Html.PasswordFor(m => m.Password)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Password)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.ConfirmPassword)</div>
                <div class="tbl-next">@Html.PasswordFor(m => m.ConfirmPassword)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.ConfirmPassword)</div>
                <div class="clear"></div>
            </li>
            <li>
                <input type="submit" class="btn" name="Submit" id="Submit" value="Register" />
            </li>
        </ol>
    </fieldset>
    
}


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
